*{
    padding: 0;
    margin: 0;
    font:1em "Microsoft YaHei UI";
    outline: none;
}
a{
    text-decoration: none;
}
body{
    overflow-x: hidden;
}
/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
.scrollbar::-webkit-scrollbar{
    width: 16px;
    height: 16px;
    background-color: #f5f5f5;
}
/*定义滚动条的轨道，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-track{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    border-radius: 10px;
    background-color: rgba(200,200,200,0.5);
}
/*定义滑块，内阴影及圆角*/
.scrollbar::-webkit-scrollbar-thumb{
    /*width: 10px;*/
    height: 20px;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

/*input无上下箭头*/
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{
    -webkit-appearance: none !important;
    margin: 0;
}

input[type=number]{-moz-appearance:textfield;}



#bg{
    background-color: rgb(100,100,100);
    position: fixed;
    left: 0;
    top:0;
    z-index: -1;
}
.nav{
    z-index: 99;
    position: fixed;
    top:0;
    left: 0;
    display: inline-block;
    height: 40px;
    width:100%;
    background-color:#999;
    box-shadow: 0 0 2px 2px #555;

}
.content{
    display: block;
    width: 900px;
    background-color: rgba(255,255,255,.8);
    left: 1%;
    margin: 20px auto;
}

.content.new{
    transition: width 500ms,left 500ms;
}

.content.hot{
    transition: width 500ms,left 500ms;
}
.content .ArticlePanel{
    display: inline-block;
    overflow-x: hidden;
    overflow-y: hidden;
    z-index:1;
    width: 100%;
    margin-bottom: 5px;
    border-radius: 2px;
    border-bottom: solid 1px #999;
}


.new .ArticlePanel{
    min-height:300px;
    max-height: 500px;
    transition: max-height 500ms,min-height 500ms;
}
.hot .ArticlePanel{
    min-height: 150px;
    max-height: 200px;
    transition: max-height 500ms,min-height 500ms;
}

.content .ArticleImg{
    display: inline-block;
    height: 100%;
}
.ArticleContent{
    display: block;
    margin-left: 4%;
    font-size: 16px;
}
.ArticleContent img{
    max-width: 70%;
}

.articleInfo{
}
.content p,.Article p{
    margin: 15px 0;
}

.title{
    font: 25px "Microsoft YaHei UI";
    display: block;
    font-weight:bold;
    text-indent: 20px;
    color:#333;
}

.author{
    font: 14px "Microsoft YaHei UI Light";
    margin: 0 10px 10px;
}

.login{
    float:right;
    margin: 0 30px;
    line-height: 40px;
}

.loginButton,.logoutButton,.cpdButton{
    font:12px "Microsoft YaHei UI";
    font-weight: bold;
    color: #333;
}
.loginButton:hover,.logoutButton:hover,.cpdButton:hover{
    color: #b92c28;
}

.menuBar{
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
}

.menu{
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: pink;
    height:100%;
    line-height: 40px;
    margin: 0 0 0 30px;
}
.menu:hover{
    color: purple;
}
.menu.active{
    color: rebeccapurple;
}

.menu#myFriends,.menu#openEdit{
    font-size: 14px;
    color: green;

}

.userContent{
    width:98%;
    margin: 20px 1%;
    min-height:300px ;
}

.Article{
    box-sizing: border-box;
    vertical-align: top;
    display: inline-block;
    opacity:0;
    min-height:350px;
    max-height: 450px;
    margin: 5px 5px;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: rgba(255,255,255,.9);
    box-shadow: 2px 2px 2px 2px #999;
    transition: opacity 1500ms;
}

@media(min-width:768px) and (max-width:1000px){
    .Article{
        margin:5px 0;
        padding: 0;
        box-sizing: border-box;
        width:49%;
    }
}
@media(min-width:500px) and (max-width:768px){
    .Article{
        margin:5px 0;
        padding: 0;
        box-sizing: border-box;
        width:100%;
    }
}
@media(min-width:1000px) and (max-width:2000px){
    .Article{
        margin:5px 0;
        padding: 0;
        box-sizing: border-box;
        width:24%;
    }
}

.friendsBar{
    position: fixed;
    background-color: rgba(0,0,0,.9);
    overflow-x: hidden;
    width:200px;
    left: -200px;
    top: 40px;
    bottom:0;
}
.friendsBar .MyPhoto{
    display: block;
    width: 100px;
    min-height: 70px;
    max-height: 200px ;
    margin: 10px auto;
    border-radius: 50%;
}
.friendsBar .title{
    color: rgb(255,255,255);
}


.friend{
    width: 100%;
    display: none;
    overflow: hidden;
}
.friend img{
    width: 50px;
    height: 50px;
    padding: 6px;
    float: left;
    border-radius: 50%;
    margin: 0 10px;
}



.friend .nameList{
    display: inline-block;
    color: #ffffff;
    font:18px "Arial";
    padding:20px 0;

}
.friend:hover{
    background-color: rgb(100,100,100);
}
.friend .nameList:hover{
    color: green;
}

.talkPanel{
    position:absolute;
    top:30%;
    left:30%;
    display: none;
    width: 500px;
    height: 400px;
    border-radius: 2px;
    background-color: rgb(0,100,200);
    box-shadow: 2px 2px 2px 2px #999;
}
.sendMsg{
    width: 80%;
    height: 25px;
    border-radius: 2px;
    margin: 0 2%;
    border: 0;
    background-color: rgb(253,203,153);
}
.sendButton{
    float: right;
    width:12%;
    margin-right: 2%;
    border-radius: 3px;
    height: 25px;
    border: 0;
    background-color: rgb(253,203,153);
}
.sendButton:hover{
    background-color: rgb(255,255,255);

}
.talkContent{
    height: 80%;
    width: 96%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgb(253,203,153);
    border-radius: 3px;
    margin: 0 auto 10px;
}

.talkTitle{
    margin: 5px 2%;
    font: 20px "Arial";
}


.closeTalkPanel{
    float: right;
}
.closeTalkPanel:hover{
    cursor: pointer;
    color: darkred;
}

.onTop{
    z-index: 999;
}
.pa{
    position: absolute;
}


.EditArticle{
    display: none;
    position: absolute;
    left:20%;
    top:20%;
    width:840px;
    min-width: 900px;
    min-height: 670px;
    height:70%;
    background-color: rgb(200,200,200);
    border-radius: 10px;
    border: solid rgb(100,150,150) 3px;
    box-shadow:2px 2px 2px 2px #999;
}

.EditArea{
    width:850px;
    height:570px;
    margin: 1% 1%;
    padding: 2px;
    font-size: 20px;
    resize: none;
}
iframe{
    max-height: 420px;
}
.EditTitle{
    display: inline-block;
    margin:1% 1% 0;
    padding:2px;
    font-size: 20px;
}
.EditButton{
    float: right;
    margin: 15px 1%;
    width: 100px;
    height: 40px;
}
.imgArea{
    height: 100px;
    background-color: rgb(169,169,169);
    width:98%;
    margin:1% 1%;
    border-radius: 10px;
}

.closeEditArea{
    font-size: 25px;
    float: right;
    margin: 1% 1% 0 1%;
}
.closeEditArea:hover{
    cursor: pointer;
    color: darkred;
}
.inputImg{
    z-index: 2;
    position: absolute;
    height: 100%;
    width:100%;
    opacity: 0;
}

.imgDiv{
    overflow: hidden;
    position: relative;
    height: 96px;
    width:96px;
    background-color: rgb(153,153,153);
    border: solid #000000 2px;
    border-radius: 10px;
}


.register{
    display: none;
    width: 300px;
    height: 300px;
    border-radius: 10px;
    border: solid #9a9a9a 2px;
    box-shadow: 2px 2px 2px 2px rgb(100,200,250);
    background-color: rgb(100,200,250);
}

.register .closeRegister{
    float: right;
    font-size: 20px;
    margin: 15px 15px 0 0;
}

.register .closeRegister:hover{
    cursor: pointer;
    color: darkred;
}

.RLTile{
    margin:50px 0 0;
    height: 45px;
    color: brown;
}

.register .loginTitle{
    margin: 0;
    padding: 0;
    font-size: 25px;
    width: 100%;
    text-align: center;
}



.register .registerAndLoginInput{
    margin: 10px auto;
    padding: 2px 2px;
    width:80%;
    height: 40px;
    opacity: 0.8;
    font-size: 20px;
    border: solid #9a9a9a 1px;
    border-radius: 5px;
    display: block;
}

.register .registerAndLoginInput.hidden{
    display: none;
    margin-top: 0;
}
.register img.hidden{
    margin-top: 0;
    display: none;
}
.register input[name=CheckCode]{
    display: inline-block;
    margin-left: 10%;
    float: left;
    width: 120px;
}

.register .RLButton{
    float: right;
    margin:15px 10%;
    height: 40px;
    width:110px;
    background-color: rgb(255,255,255);
    border: solid #9a9a9a 1px;
    border-radius: 5px;
    font-size: 20px;
}


.register .RLButton:hover{
    background-color: #cccccc;
}



#RLLink{
    display: inline-block;
    float: right;
    margin: 15px 10%;
}

.loginContent{
    position: relative;
}

.register .loginMsg{
    z-index: 9;
    border: solid #9a9a9a 1px;
    border-radius: 3px;
    padding: 3px;
    background-color: white;
    color: red;
    display: none;
    position: absolute;
}

.register .SuccessMsg{
    z-index: 9;
    position:absolute;
    left: 0;
    top:0;
    width: 100%;
    height:100%;
    text-align: center;
    padding-top: 20px;
    font-size: 30px;
}

.ArticleSelect{
    display: inline-block;
    border-radius: 3px;
    margin: 1% 1%;
}

.TopCheckBox{

}

.content.showArticle{
    display: block;
    position: static;
    margin: 140px auto;
    padding-top: 50px;
    width: 900px;
    min-height: 1000px;
    background-color:rgba(255,255,255,.9);
;
}


.content.showArticle .ArticlePanel.scrollbar{
    box-shadow: none;
    display: block;
    background-color: rgba(255,255,255,.9);
    border: 0;
    height: auto;
    width: auto;
    margin: 50px;
}

.comment{
    margin: 50px;
}

.ArticleCommentIpt{
    width: 100%;
    height: 150px;
    resize: none;
    border: solid #9a9a9a 1px;
    border-radius: 2px;
    font-size: 1.1em;
}

.guestModel{
    display: none;
    margin: 10px 0;
}

.guestInfo{
    margin:0 10px;
    width: 50px;
    text-align: center;
    float: left;
}
.commentText{
    min-height: 80px;
    margin-left: 70px;
    border: solid #9a9a9a 1px;
    border-radius: 2px;
    background-color: #eee;
}

.guest{
    display: block;
    margin-left: 10px;
}

.commentTextContent{
    line-height: 35px;
    margin: 15px 15px 0;
    border-bottom: solid #bbb 1px;
}

.guestTime{
    color: #444;
    line-height: 2;
}

.guestSubmit{
    float: right;
    width:100px;
    height:30px;
    border: solid #999999 1px;

}
.guestSubmit:hover{
    background-color: #333333;
 }

.write{
    padding-bottom: 50px;
}
.delGuest{
    cursor: pointer;
    margin-right: 20px;
    float: right;
    border-radius: 3px;
    color: #555;
    line-height: 2;
}
.delGuest:hover{
    background-color: #999;
    color: #711;
}

.linkCss{
    color: white;
    margin-bottom: 30px;
}

.title.all{
    width: 100%;
    height: 300px;
    background:url("/photo/bg2.jpg") no-repeat;
    background-size: 100% 100%;
}
.title.all div{
    width: 900px;
    height: 100%;
    text-align: left;
    margin: auto;
    font-size: 50px;
    line-height: 300px;
    font-weight: 100;
    text-shadow: 1px 1px 1px #559;

}
.title.at:hover{
    cursor: pointer;
    z-index: 2;
}


.authorPhoto{
    margin: 10px;
    border-radius: 10%;
    width: 50px;
    height: 50px;
}
.createTime{
    color: #444;
    font-size: 0.5em;
}
.userPanel{
    height:400px;
    width: 100%;
    background-color: rgba(50,60,70,.9);
}
.userPanel .photo{
    width:250px;
    height:250px;
    float: left;
    border-radius: 50%;
    margin:123px 10px 0 23px;
}

.userPanel .info{
    float: left;
    margin: 123px 0 0;
}

.userPanel .name,.age,.intro,.care,.fans,.editInfo{
    margin: 10px 30px;
    color: white;
}
.userPanel .age{
}
.userPanel .intro{
}
.userPanel .care,.editInfo{
    background-color: rgb(150,150,150);
    border:solid #9a9a9a 2px;
    width:100px;
    height: 40px;
    font-size:20px ;
    font-weight: 500;
    border-radius: 10px;
}
.userPanel .care:hover,.editInfo:hover{
    background-color: rgb(255,255,255);
    color: black;
}
.userPanel .fans{
}




.editInfoPanel{
    position: absolute;
    left:40%;
    top:30%;
    width: 300px;
    height: 560px;
    display: none;
    border: solid #9a9a9a 2px;
    border-radius: 5px;
    background-color: rgb(255,255,255);
}
.editInfoForm{
    position: relative;
    width: 100%;
    height: 400px;
}
.editInfoForm input,.editInfoForm textarea,.editInfoForm select{
    height: 35px;
    font-size: 20px;
    width: 80%;
    border: solid #9a9a9a 1px;
    border-radius: 3px;
    margin: 10px 10%;
    background-color: rgb(255,255,255);
}
.editInfoForm textarea{
    height: 100px;
    resize: none;
}
.editPhoto{
    background: url(/photo/0.png) no-repeat  0 0/100% 100% border-box border-box ;
    width: 150px;
    height: 150px;
    margin: 20px 75px;
    border: solid #999999 1px;
    position: relative;
    overflow: hidden;
}

.infoMsg{
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: #666666;
    color: green;
    text-align: center;
    font-size: 22px;
    line-height: 400px;
}

.fileIpt{
    margin: 0;
    padding: 0;
    width: 150px;
    min-height: 150px;
    opacity: 0;
    z-index:2;
}

.editInfoBtn{
    width: 60px;
    height: 30px;
    border-radius: 3px;
    border: solid #9a9a9a 1px;
    background-color:rgb(255,255,255) ;
}

.close{
    float: right;
    margin-right: 10%;
}
.close:hover{
    cursor: pointer;
    color: #333333;
}

.editInfoTitle{
    margin: 5px 5px 0 0;
}


.buttonPress{
    border-top:3px;
    border-bottom:0;
    background-color: darkred;
    color: white;
    font-weight: 500;
}

.prise{
    height: 50px;
}
.priseButton{
    display: inline-block;
    height: 25px;
    width:80px;
    text-align: center;
    border-radius: 5px;
    background-color: #aaa;
}
.priseButton:hover{
    background-color: #393;
}

.searchContent{
    margin-top: 100px;
}

.search{
    display: inline-block;
}
.search .ipt{
    border-radius: 5px;
}

.search .btn{
    border-radius: 5px;
    border: 0;
    width: 50px;
}


/*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
.Center{
    position: absolute;
    top:50%;
    left: 50%;
    transform:translate(-50%,-50%);
}
.LogoP{
    opacity: 0.5;
    position: absolute;
    right: 100px;
    top:100px;
    width:100px;
    height: 100px;
}
.logo{
    width:100%;
    height: 100%;
    perspective: 2000px;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    border-radius: 50%;
}

.logo div{
    position: absolute;
    background-color: rgb(230,230,230);
    border-radius: 10px;
    border: 0;
    transform-origin:center center -50px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    transition:left 100ms,top 100ms;
    animation-timing-function:linear;
    transition-timing-function: linear;
}
.logo1{
    animation:ThreeDTransform1 5s ;
    animation-iteration-count:infinite;
}
.logo2 {
    animation:ThreeDTransform2 5s ;
    animation-iteration-count:infinite;
}
.logo3 {
    animation:ThreeDTransform3 5s ;
    animation-iteration-count:infinite;
}
.logo4 {
    animation:ThreeDTransform4 5s ;
    animation-iteration-count:infinite;
}
.logo5 {
    animation:ThreeDTransform5 5s ;
    animation-iteration-count:infinite;
}
.logo6 {
    animation:ThreeDTransform6 5s ;
    animation-iteration-count:infinite;
}

.removeAnimation{
    animation:none;
}


@keyframes ThreeDTransform1 {
    0% {transform:rotateY(0deg) rotateX(0deg)}
    25% {transform:rotateY(90deg) rotateX(90deg)}
    50% {transform:rotateY(180deg) rotateX(180deg)}
    75% {transform:rotateY(270deg) rotateX(270deg)}
    100% {transform:rotateY(360deg) rotateX(360deg)}
}
@keyframes ThreeDTransform2 {
    0% {transform:rotateY(0deg) rotateX(90deg)}
    25% {transform:rotateY(90deg) rotateX(180deg)}
    50% {transform:rotateY(180deg) rotateX(270deg)}
    75% {transform:rotateY(270deg) rotateX(360deg)}
    100% {transform:rotateY(360deg) rotateX(450deg)}
}
@keyframes ThreeDTransform3 {
    0% {transform:rotateY(0deg) rotateX(-90deg)}
    25% {transform:rotateY(90deg) rotateX(0deg)}
    50% {transform:rotateY(180deg) rotateX(90deg)}
    75% {transform:rotateY(270deg) rotateX(180deg)}
    100% {transform:rotateY(360deg) rotateX(270deg)}
}
@keyframes ThreeDTransform4 {
    0% {transform:rotateY(90deg) rotateZ(0deg)}
    25% {transform:rotateY(180deg) rotateZ(90deg)}
    50% {transform:rotateY(270deg) rotateZ(180deg)}
    75% {transform:rotateY(360deg) rotateZ(270deg)}
    100% {transform:rotateY(450deg) rotateZ(360deg)}
}
@keyframes ThreeDTransform5 {
    0% {transform:rotateY(-90deg) rotateZ(360deg)}
    25% {transform:rotateY(0deg) rotateZ(270deg)}
    50% {transform:rotateY(90deg) rotateZ(180deg)}
    75% {transform:rotateY(180deg) rotateZ(90deg)}
    100% {transform:rotateY(270deg) rotateZ(0deg)}
}
@keyframes ThreeDTransform6 {
    0% {transform:rotateY(0deg) rotateX(180deg)}
    25% {transform:rotateY(90deg) rotateX(270deg)}
    50% {transform:rotateY(180deg) rotateX(360deg)}
    75% {transform:rotateY(270deg) rotateX(450deg)}
    100% {transform:rotateY(360deg) rotateX(540deg)}
}

@keyframes InOut {
    0%{opacity: 0.01}
    50%{opacity:1;}
}

.InOutCls{
   animation: InOut 500ms;
    animation-iteration-count: infinite;
}